package com.lovo.pojo;

import java.io.Serializable;

public class UserDO implements Serializable {
    private static final long serialVersionUID = 1915165389579527942L;
    private int id;
    private String username;
    private String userpsw;
    private double money;

    public UserDO() {

    }

    public UserDO(String username, String userpsw, double money) {
        this.username = username;
        this.userpsw = userpsw;
        this.money = money;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", userpsw='" + userpsw + '\'' +
                ", money=" + money +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getUserpsw() {
        return userpsw;
    }

    public void setUserpsw(String userpsw) {
        this.userpsw = userpsw;
    }

    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }
}
